<?xml version="1.0" encoding="utf-8"?>
<com.google.android.material.card.MaterialCardView xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id="@+id/card"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:clickable="true"
    app:cardCornerRadius="15dp"
    app:cardElevation="5dp">

    <androidx.constraintlayout.widget.ConstraintLayout
        android:id="@+id/actorPhoto"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_margin="10dp">

        <ImageView
            android:id="@+id/posterInList"
            android:layout_width="150dp"
            android:layout_height="210dp"
            android:scaleType="fitXY"
            android:src="@drawable/baseline_wallpaper_24"
            app:layout_constraintLeft_toLeftOf="parent"
            app:layout_constraintTop_toTopOf="parent" />

        <com.google.android.material.progressindicator.CircularProgressIndicator
            android:id="@+id/indicatorRating"
            android:layout_width="20dp"
            android:layout_height="20dp"
            android:layout_marginLeft="5dp"
            android:layout_marginBottom="-25dp"
            android:max="100"
            app:indicatorColor="@android:color/holo_orange_dark"
            app:indicatorDirectionCircular="clockwise"
            app:layout_constraintBottom_toBottomOf="@id/posterInList"
            app:layout_constraintLeft_toLeftOf="@id/posterInList"
            app:trackColor="@color/indicator_rating"
            app:trackCornerRadius="5dp" />

        <TextView
            android:id="@+id/textRating"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:paddingLeft="13dp"
            android:paddingBottom="15dp"
            android:text="0%"
            android:textColor="@android:color/holo_red_light"
            app:layout_constraintBottom_toBottomOf="@id/indicatorRating"
            app:layout_constraintLeft_toLeftOf="@id/indicatorRating" />

        <TextView
            android:id="@+id/titleFilmInList"
            android:layout_width="150dp"
            android:layout_height="55dp"
            android:text="@string/title_film"
            android:textColor="@color/black"
            android:textStyle="bold"
            app:layout_constraintLeft_toLeftOf="@id/posterInList"
            app:layout_constraintTop_toBottomOf="@id/indicatorRating" />

        <TextView
            android:id="@+id/releaseFilmInList"
            android:layout_width="150dp"
            android:layout_height="wrap_content"
            android:text="@string/relise"
            android:textColor="@android:color/secondary_text_light"
            app:layout_constraintLeft_toLeftOf="@+id/titleFilmInList"
            app:layout_constraintTop_toBottomOf="@+id/titleFilmInList" />
    </androidx.constraintlayout.widget.ConstraintLayout>
</com.google.android.material.card.MaterialCardView>